wfm-ux

(0 reviews)

Patch ProductById (Update CPE)- (TMF637-PATCH)

This operation allows to update and associate the CPE with Product on Inventory for JM

Key Considerations for JM(FTTH Implementation)

  1. ServiceOrderNo should be open and in the installation department (function code is 10) and mandatory to send.
  2. We are not considering the use case replacing the already installed equipment's.
  3. productSerialNumber length must be 5(min) to 20(Max) digits length for FTTH services and mandatory to send.
  4. BillingAccount is mandatory to pass from input payload.
  5. servType, servNo, uniqueServId, MacAddress, custProdNo, ModelNumber are manadtory to pass from input payload under productCharacteristic array.
  6. serviceNumber should be mandatory and must be in the format of "8767775772". We should not add +1 to the serviceNumber for voice services. For other service types please send as is.
URL
https://nonprod.esb.cloud.lla.com/test/wfm-ux/wfm-ux/v1/{businessId}/product/{id}
URI Params
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
idstringUnique identifier of the productY
Headers
nametypedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
departmentCodestringdepartmentCodeY
faultIndbooleanif we pass this as "Y" then the old MAC Address will be treated as Faulty. Used for swapCases. If the order is a new Install then should be "N"N
cURL request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/wfm-ux/wfm-ux/v1/JM/product/13788' \
--header 'departmentCode: KNI' \
--header 'client_id: 11234123412341234' \
--header 'client_secret: 11234123412341234' \
--header 'X-Correlation-ID: f6ebd35b-e1c9-4976-b0fe-7dff90d5e34e' \
--header 'faultInd: false' \
--header 'Content-Type: application/json' \
--data-raw '{
    "productSerialNumber": "E8:1B:69:8D:53:B4",
    "productOrderItem": {
        "productOrderId": "HO4209B"
    },
    "billingAccount": {
        "id": "221219910000"
    },
    "productCharacteristic": [
        {
            "name": "servType",
            "valueType": "string",
            "value": "TP"
        },
        {
            "name": "servNo",
            "valueType": "string",
            "value": "8769778252"
        },
        {
            "name": "uniqueServId",
            "valueType": "string",
            "value": "31554474"
        },
        {
            "name": "MacAddress",
            "valueType": "string",
            "value": "53434F4D36B04E4F"
        },
        {
            "name": "custProdNo",
            "valueType": "string",
            "value": "612514410"
        },
        {
            "name": "ModelNumber",
            "valueType": "string",
            "value": "Sercomm FG1100R ONT"
        }
    ],
    "@baseType": "Product",
    "@type": "Product"
}'
Response
{
    "code": "202",
    "message": "Successfully updated"
}

Reviews